/*
 ============================================================================
 Name		: xnetDocument.cpp
 Author	  : antterminator
 Copyright   : Your copyright notice
 Description : CxnetDocument implementation
 ============================================================================
 */

// INCLUDE FILES
#include "xnetAppUi.h"
#include "xnetDocument.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CxnetDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CxnetDocument* CxnetDocument::NewL(CEikApplication& aApp)
{
	CxnetDocument* self = NewLC(aApp);
	CleanupStack::Pop(self);
	return self;
}

// -----------------------------------------------------------------------------
// CxnetDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CxnetDocument* CxnetDocument::NewLC(CEikApplication& aApp)
{
	CxnetDocument* self = new (ELeave) CxnetDocument(aApp);

	CleanupStack::PushL(self);
	self->ConstructL();
	return self;
}

// -----------------------------------------------------------------------------
// CxnetDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CxnetDocument::ConstructL()
{
	// No implementation required
}

// -----------------------------------------------------------------------------
// CxnetDocument::CxnetDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CxnetDocument::CxnetDocument(CEikApplication& aApp) :
	CAknDocument(aApp)
{
	// No implementation required
}

// ---------------------------------------------------------------------------
// CxnetDocument::~CxnetDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CxnetDocument::~CxnetDocument()
{
	// No implementation required
}

// ---------------------------------------------------------------------------
// CxnetDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CxnetDocument::CreateAppUiL()
{
	// Create the application user interface, and return a pointer to it;
	// the framework takes ownership of this object
	return new (ELeave) CxnetAppUi;
}

// End of File
